<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <title>添加节目</title>
    <script charset="utf-8" type="text/javascript" src="js/init3.js?v=2014122229711"></script>
    <script src="js/jquery.ui.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.qui.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.qui.suggest.js" type="text/javascript"></script>

    <style>
        .norecords {
            border-width: 2px !important;
            display: none;
            font-weight: bold;
            left: 45%;
            margin: 5px;
            padding: 6px;
            position: absolute;
            text-align: center;
            top: 45%;
            width: auto;
            z-index: 102;
        }

        .suggestDiv .ui-suggest .ui-autocomplete {
            width: 631px !important;
        }

        #overlay {
            background: #000;
            filter: alpha(opacity=50); /* IE的透明度 */
            opacity: 0.5; /* 透明度 */
            display: none;
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            z-index: 100; /* 此处的图层要大于页面 */
            display: none;
        }
    </style>
</head>
<body>
<header></header>
<div class="wrapper wrapper-video">
    <nav>
        <ul class="breadcrumb">
            <li>插入节目</li>
        </ul>
    </nav>
    <div id="addProgramView" class="container-list">
        <div class="form-horizontal form-container form-inline">
            <div class="container">
                <div class="row">
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">节目名称：</label>
                            <select name="insertType" style="width: 66px">
                                <option value="type1">点播</option>
                                <option value="type2">直播</option>
                            </select>
                            <input type="text" name="queryName" style="width:100px">
                        </div>
                    </div>
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">奇谱ID：</label>

                            <div class="controls">
                                <input type="text" name="qipuId" placeholder="" autocomplete="off"
                                       class="input-small query-input-text">
                            </div>
                        </div>
                    </div>
                    <div class="span4" id="div_albumName_typ1">
                        <div class="control-group">
                            <label class="control-label">专辑名称：</label>

                            <div class="controls">
                                <input type="text" name="albumName" style="width: 120px">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id="div_new_type1">
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">频道：</label>
                            <select class="input-small pps-content-type" name="channel">
                                <option value="">请选择</option>
                                <option value="1">电影</option>
                                <option value="2">电视剧</option>
                                <option value="3">纪录片</option>
                                <option value="4">动漫</option>
                                <option value="5">音乐</option>
                                <option value="6">综艺</option>
                                <option value="7">娱乐</option>
                                <option value="8">游戏</option>
                                <option value="9">旅游</option>
                                <option value="10">片花</option>
                                <option value="11">公开课</option>
                                <option value="12">教育</option>
                                <option value="13">时尚</option>
                                <option value="14">时尚综艺</option>
                                <option value="15">少儿</option>
                                <option value="16">微电影</option>
                                <option value="17">体育</option>
                                <option value="18">奥运</option>
                                <option value="20">广告</option>
                                <option value="21">生活</option>
                                <option value="22">搞笑</option>
                                <option value="23">UGC</option>
                                <option value="24">财经</option>
                                <option value="25">资讯</option>
                                <option value="26">汽车</option>
                                <option value="27">原创</option>
                                <option value="28">军事</option>
                                <option value="29">母婴</option>
                                <option value="30">科技</option>
                                <option value="31">脱口秀</option>
                                <option value="32">健康</option>
                                <option value="33">公益</option>
                                <option value="88">内部培训</option>
                                <option value="89">PPS</option>
                                <option value="91">淘米</option>
                                <option value="92">联想合作</option>
                                <option value="96">编码器测试</option>
                                <option value="97">其他</option>
                                <option value="99">测试频道</option>
                                <option value="100">广告素材生产频道</option>
                            </select>
                        </div>
                    </div>
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">内容：</label>
                            <select class="input-small pps-content-type" name="contentType">
                                <option value="" name="filter_EQI_contentType">全部</option>
                                <option value="1" name="filter_EQI_contentType">正片</option>
                                <option value="2" name="filter_EQI_contentType">特辑</option>
                                <option value="3" name="filter_EQI_contentType">预告片</option>
                                <option value="4" name="filter_EQI_contentType">片花</option>
                                <option value="5" name="filter_EQI_contentType">花絮</option>
                                <option value="6" name="filter_EQI_contentType">宣传片</option>
                                <option value="7" name="filter_EQI_contentType">片段</option>
                                <option value="25" name="filter_EQI_contentType">其他</option>
                                <option value="2" name="filter_GEI_contentType">所有非正片
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="span4" id="div_tags_type1">
                        <div class="control-group">
                            <label class="control-label">自定义标签：</label>

                            <div class="controls">
                                <input type="text" name="customTags" style="width: 120px">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">时长：</label>
                            <input type="text" name="minTime" value="60" style="width:50px">秒 ~ <input type="text"
                                                                                                        name="maxTime"
                                                                                                        style="width:50px">秒
                        </div>
                    </div>
                    <div id="dateTimeDiv" class="span6" style="display: none">
                        <div class="control-group">
                            <label class="control-label">开始时间：</label>
                            <input type="text" name="minDateTime" style="width:120px"> ~ <input type="text"
                                                                                                name="maxDateTime"
                                                                                                style="width:120px">
                        </div>
                    </div>
                    <div id="videoOrderDiv" class="span6">
                        <div class="control-group">
                            <label class="control-label">第</label><input type="text" name="minVideoOrder"
                                                                         onkeyup="value=this.value.replace(/\D+/g,'')"
                                                                         style="width:60px"> ~ <input type="text"
                                                                                                      name="maxVideoOrder"
                                                                                                      onkeyup="value=this.value.replace(/\D+/g,'')"
                                                                                                      style="width:100px">期集
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button name="queryProgram" class="btn btn-primary query-btn">查询</button>
                    </div>
                </div>
            </div>
        </div>
        <div id="addType1" style="display: none">
            <button name="btn_addType1">批量添加到节目单</button>
            <button name="btn_addType3" style="display: none">批量添加到循环节目单</button>
            <table id="listAdd1">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div id="pagerAdd1"></div>
        </div>
        <div id="addType2" style="display: none">
            <button name="btn_addType2">批量添加</button>
            <table id="listAdd2">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div id="pagerAdd2"></div>
        </div>
    </div>
</div>
<div id="batchResponseDiv" style="display: none">
    <div>数据存在如下问题</div>
    <div sign="detail"></div>
</div>
<div id="loadLegoMessage" style="display: none">
    <div>正在加载lego节目数据</div>
    <div>正在加载节目奇谱数据</div>
</div>
<div id="queryMessage" style="display: none">
    <div align="center" sign="detailMessage" style="word-break:break-all"></div>
    <div align="center" style="margin-top: 20px">
        <input type="button" class="btn" name="btn_nil" value="继续添加节目">
        <input type="button" class="btn" name="btn_jump_library" value="返回循环节目单">
    </div>
</div>
</body>

<script type="text/javascript">
    require(['epg2'], function () {
        Carousel.Action.insertRun();
    })
</script>
</html>